package com.aboo.fusion.component;

import java.util.ArrayList;
import java.util.List;

public class Dataset {
	
	/** 设置数据集的名称 */
	private String seriesName;
	/** 设置显示的颜色 */
	private String color;
	/** 是否显示值 */
	private String showValues;
	/** 设置锚的边框颜色 */
	private String anchorBorderColor;
	/** 设置锚的背景颜色 */
	private String anchorBgColor;
	
	private List<Data> data;
	
	public void addData(Data e) {
		if (data == null) {
			data = new ArrayList<Data>();
		}
		data.add(e);
	}

	public String getSeriesName() {
		return seriesName;
	}

	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getShowValues() {
		return showValues;
	}

	public void setShowValues(String showValues) {
		this.showValues = showValues;
	}

	public String getAnchorBorderColor() {
		return anchorBorderColor;
	}

	public void setAnchorBorderColor(String anchorBorderColor) {
		this.anchorBorderColor = anchorBorderColor;
	}

	public String getAnchorBgColor() {
		return anchorBgColor;
	}

	public void setAnchorBgColor(String anchorBgColor) {
		this.anchorBgColor = anchorBgColor;
	}

	public List<Data> getData() {
		return data;
	}

	public void setData(List<Data> data) {
		this.data = data;
	}	

}
